package ViewFillperProject.v;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TabHost;

public class LoginActivity extends TabActivity {
	private LayoutInflater inflater;
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		TabHost host=getTabHost();
		inflater=LayoutInflater.from(this);
		View view01=inflater.inflate(R.layout.indicator, null);
		View view02=inflater.inflate(R.layout.indicator001, null);
		View view03=inflater.inflate(R.layout.indicator002, null);
	
		host.addTab(host.newTabSpec("a").setIndicator(view01).setContent(new Intent(this,Introduce.class)));
		host.addTab(host.newTabSpec("b").setIndicator(view02).setContent(new Intent(this,FunctionInformation.class)));
		host.addTab(host.newTabSpec("c").setIndicator(view03).setContent(new Intent(this,PreferentialConvenient.class)));
	}
	
}
